package com.yv.security.core.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
/** 
 * This class reads all the properties that begin with yv.security.
 * @author Administrator
 *
 */
@ConfigurationProperties(prefix = "yv.security")
public class SecurityProperties {	
	
	// All properties starting with yv.security.browser are here.
	private BrowserProperties browser = new BrowserProperties();
	
	private ValidateCodeProperties code = new ValidateCodeProperties();

	public BrowserProperties getBrowser() {
		return browser;
	}

	public void setBrowser(BrowserProperties browser) {
		this.browser = browser;
	}

	public ValidateCodeProperties getCode() {
		return code;
	}

	public void setCode(ValidateCodeProperties code) {
		this.code = code;
	}
	
	
}
